package com.etone.smartAudit.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author jiayen
 * @since 2021-12-21 16:20:18
 */
@ApiModel(value = "p_todo对象", description = "p_todo")
@Data
@TableName("p_todo")
public class PTodo implements Serializable {

    @ApiModelProperty(value = "主键id")
    @TableId(value = "todoId", type = IdType.AUTO)
    private Integer todoId;

    @ApiModelProperty(value = "系统名称（或者系统id）")
    @TableField("appName")
    private String appName;

    @ApiModelProperty(value = "接收者portal账号")
    @TableField("owner")
    private String owner;

    @ApiModelProperty(value = "上一步执行人")
    @TableField("parentOwner")
    private String parentOwner;

    @ApiModelProperty(value = "代办标题")
    @TableField("todoTitle")
    private String todoTitle;

    @ApiModelProperty(value = "跳转链接")
    @TableField("url")
    private String url;

    @ApiModelProperty(value = "创建时间")
    @TableField("createTime")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("modifyTime")
    private Date modifyTime;

    @ApiModelProperty(value = "操作类型。A=增，M=改，D=删")
    @TableField("type")
    private String type;


    /**
     * 推送用户id
     */
    @TableField("uid")
    private String uid;
    /**
     * 时间戳
     */
    @TableField("timestamp")
    private String timestamp;
    /**
     * 密码
     */
    @TableField("password")
    private String password;
    /**
     * 系统id
     */
    @TableField("sysid")
    private String sysid;
    /**
     * business	是	string		业务名称，如:todo,done,toread,read
     */
    @TableField("business")
    private String business;
    /**
     * 唯一流水号，只在log4j日志中记录，排查使用
     */
    @TableField("seqno")
    private String seqno;

}
